<div class="tag-cloud-box">
    <div class="tag-cloud-title">标签云</div>
    <ul class="tag-cloud-list">

    </ul>
</div>
<script>
    window.onload= function(){
        $.ajax({url:'/ghost/api/v2/content/tags/?key='+_ApiKey+'&include=count.posts',success:function(re){
            re.tags.forEach(function(item){
                $('.tag-cloud-list').append($('<li class="tag-cloud-item"><a href="' + item.url + '"' + 'title="' + item.name + '"><span class="tag-cloud-item-title">' + item.name + '</span><span class="tag-cloud-item-count">'+item.count.posts+'</span></a></li>'));
            })
        }},)
    }
</script>